1. Contents of the replication folder. The replication materials contains the following folders and files

/cp_conjoint_rep
- cp_conjoint_rep_script.R: master R script to run all replication code
- cp_conjoint_analysis.R: code for analysis tables and figures
- cp_conjoint_descriptives.R: code for descriptive statistics figures
- cp_conjoint_helper_functions.R: code for internal functions to format and output tables 
- codebook.pdf: codebook for the analysis dataset
- readme.txt: basic instructions for replication

/cp_conjoint_rep/data
- dat_conjoint.csv: anonymized responses to the conjoint experiment + covariate information
- carbon_pricing_dashboard_data-latest.xlsx: Data on carbon pricing instruments. Source: World Bank State and Trends of Carbon Pricing Dashboard. https://carbonpricingdashboard.worldbank.org. Accessed on 6 April 2024.
- sample_frame_fractions.csv: target sample frame proportions for gender and government role 

/cp_conjoint_rep/output
- placeholder.txt: This document is to create a placeholder so that the output subfolder is created when the replication file is downloaded.
** the replication materials should write all tables and figures to this folder

2. General replication directions and R scripts
- to replicate the descriptive and analysis output, run the script cp_conjoint_rep_script.R, which runs cp_conjoint_descriptives.R (to calculate descriptive statistics and generate descriptive figures) and cp_conjoint_analysis.R (to run models and generate figures).
** you must set a working directory with a path leading to the folder containing cp_conjoint_rep
** the complete replication takes around [[xxxx]] minutes
** all replicated tables and figures are written to cp_conjoint_rep/output

3. The version of R that was used to run these scripts is:
"R version 4.3.3 (2024-02-29)"

The operating system is:
Platform: MacBook Pro Apple M2 Max
Running under: macOS Sonoma 14.4

4. Additional dependencies: Note that all libraries are loaded at the beginning of the scripts described in part 2.
anesrake_0.80	cjoint_2.1.1	countrycode_1.6.0	ggalt_0.4.0	ggtext_0.1.2	ggthemes_5.1.0	glue_1.7.0
groundhog_3.2.0	maps_3.4.2	readxl_1.4.3	scales_1.3.0	sf_1.0-16	tidygeocoder_1.0.5
tidyverse_2.0.0	shadowtext_0.1.3	weights_1.0.4	xtable_1.8-4
